#ifndef SESSION_H
#define SESSION_H

#include <string>

/// @file session.h
/// @brief Session entity definition for the authentication system
/// 
/// This file defines the Session structure for the authentication system.

/// @struct Session
/// @brief Represents a user session in the authentication system
/// 
/// This structure holds all the information related to an active user session
/// including session token and expiration time.
struct Session {
    int id;                 ///< Unique identifier for the session
    int user_id;            ///< ID of the user who owns this session
    std::string token;      ///< Session token
    std::string created_at; ///< Session creation timestamp
    std::string expires_at; ///< Session expiration timestamp
};

#endif // SESSION_H